package entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author: xiaoma
 * @Date: 2021/7/8 14:28
 * @description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Goods {
   @TableId(type = IdType.AUTO)
   private Integer id;
   private String title;
   private String img;
   private String price;
   private Integer status;
   private Integer stockCount;
   @TableField(exist = false)
   private String productTime;
}
